projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e5e85f
)
; Fix bug#53367
author
Michael Albinus
<michael.albinus@gmx.de>
Wed, 19 Jan 2022 16:16:08 +0000
(17:16 +0100)
committer
Michael Albinus
<michael.albinus@gmx.de>
Wed, 19 Jan 2022 16:16:08 +0000
(17:16 +0100)
* lisp/net/tramp.el (tramp-debug-buffer-command-completion-p):
Handle small buffers. (Bug#53367)
lisp/net/tramp.el
patch
|
blob
|
history
diff --git
a/lisp/net/tramp.el
b/lisp/net/tramp.el
index 4c6a0bd96457565ab43428e03c3464853b07a7bb..b258121549d5415c6dc0a6a2480fa217ef1206dc 100644
(file)
--- a/
lisp/net/tramp.el
+++ b/
lisp/net/tramp.el
@@
-1930,7
+1930,7
@@
The outline level is equal to the verbosity of the Tramp message."
"A predicate for Tramp interactive commands.
They are completed by \"M-x TAB\" only in Tramp debug buffers."
(with-current-buffer buffer
- (string-equal (buffer-substring 1
10
) ";; Emacs:")))
+ (string-equal (buffer-substring 1
(min 10 (point-max))
) ";; Emacs:")))
(put #'tramp-debug-buffer-command-completion-p 'tramp-suppress-trace t)